<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <link href="/static/css/css.css" rel="stylesheet" type="text/css"/>
    <link href="/static/css/common.css" rel="stylesheet" type="text/css"/>
    <link href="/static/css/font-awesome.min.css" rel="stylesheet" type="text/css"/>
    <script src="/static/js/jquery.min.1.8.2.js" type="text/javascript"></script>
    <script src="/static/js/jquery.SuperSlide.2.1.1.js" type="text/javascript"></script>
    <script type="text/javascript" src="/static/js/slider.js"></script>
    <script src="/static/js/common_js.js" type="text/javascript"></script>
    <script src="/static/js/jquery.foucs.js" type="text/javascript"></script>
    <!--[if IE 7]>
<link rel="stylesheet" href="assets//static/css/font-awesome-ie7.min.css">
<![endif]-->
    <title>产品列表页</title>
</head>

<body>
<!--顶部样式-->
<div class="top_header">
    <em class="left_img"></em>
    <div class="header clearfix" id="header">
        <a href="#" class="logo_img"><img src="/static/images/logo.png"/></a>
        <div class="header_Section">
            <div class="shortcut">
                <ul>
                    {% if user.is_authenticated %}
                        <li>
                            <a href="{{ url('users:usercenter') }}">{{ user.username }}</a>
                            <span>|</span>
                            <a href="{{ url('users:logout') }}">退出</a>
                        </li>

                    {% else %}

                        <li class="hd_menu_tit"><em class="login_img"></em><a href="{{ url('users:login') }}">登录</a>
                        </li>
                        <li class="hd_menu_tit"><em class="registered_img"></em><a
                                href="{{ url('users:register') }}">注册</a></li>
                    {% endif %}

                    <li class="hd_menu_tit"><em class="Collect_img"></em><a href="#">收藏夹</a></li>
                    <li class="hd_menu_tit"><em class="cart_img"></em><a href="{{ url('shoppingcart:carts') }}">购物车（0）</a></li>
                    <li class="hd_menu_tit list_name" data-addclass="hd_menu_hover"><a href="#">网站导航</a><em
                            class="navigation_img"></em>

                        <div class="hd_menu_list">
                            <span class="wire"></span>
                            <ul>
                                <li><a href="#">常见问题</a></li>
                                <li><a href="#">在线退换货</a></li>
                                <li><a href="#">在线投诉</a></li>
                                <li><a href="#">配送范围</a></li>
                            </ul>
                        </div>
                    </li>
                </ul>
            </div>
            <div class="nav" id="Navigation">
               <ul class="Navigation_name">
                    <li class=""><a href="{{ url('index:index') }}">首页</a></li>
                    <li class=""><a href="#">所有果蔬</a></li>
                    <li class=""><a href="#">活动专区</a></li>
                    <li class=""><a href="{{ url('goods:fruit') }}">水果馆</a></li>
                    <li class=""><a href="{{ url('goods:shucai') }}">素菜馆</a></li>
                    <li class=""><a href="#">会员中心</a></li>
                    <li class=""><a href="#">联系我们</a></li>
                </ul>
            </div>
            <script>$("#Navigation").slide({titCell: ".Navigation_name li"});</script>
        </div>
    </div>
    <em class="right_img"></em>
</div>
<!---->
<div><a href="#"><img src="/static/images/AD_page_img_02.png" width="100%"/></a></div>
<!--位置-->
<div class="Bread_crumbs">
    <div class="Inside_pages clearfix">
        <div class="left">当前位置：<a href="#">首页</a>&gt;<a href="{{ url('goods:shucai') }}">蔬菜馆</a></div>
        <div class="right Search">
            <form>
                <input name="" type="text" class="Search_Box"/>
                <input name="" type="button" name="" class="Search_btn"/>
            </form>
        </div>
    </div>
</div>
<!--产品列表-->
<div class="Inside_pages clearfix">
    <div class="margintop">
        <DIV class="left_style">
            <div class="title_img_p"><img src="/static/images/p_vegetables_img.png"/></div>
            <div class="ranking">
                <div class="ranking_title"><span>销量</span>排行</div>
                <ul class="ranking_list">
                    {% for hot in hots %}
                    <li class="">
                        <em class="ranking_label"></em>
                        <a href="{{ url('goods:detail',args=(hot.spu_id,)) }}" class="img"> <img src="{{ hot.default_image }}" width="100px"
                                                      height="100px"/></a>
                        <p class="ranking_name">{{ hot.name }}</p>
                        <p class="price"><b>￥</b>{{ hot.price }}</p>
                        <p><a href="{{ url('goods:detail',args=(hot.spu_id,)) }}">立即查看< </a></p>
                    </li>
                     {% endfor %}

                </ul>
            </div>
        </DIV>
        <DIV class="right_style">
            <ul class="list_style">
                {% for good in goods %}
                <li class="clearfix">
                    <div class="product_lists clearfix">
                        <a href="#" class="Collect"></a>
                        <a href="{{ url('goods:detail',args=(good.spu_id,)) }}"><img src="{{ good.default_image }}"/></a>
                        <p class="title_p_name">{{ good.name }}</p>
                        <p class="title_Profile">{{ good.caption }}</p>
                        <p class="price"><b>￥</b>{{ good.price }}</p>
                        <p class="btn_style"><a href="{{ url('goods:detail',args=(good.spu_id,)) }}" class="buy_btn"></a><a href="#"
                                                                                              class="Join_btn"></a></p>
                    </div>
                </li>
                {% endfor %}
            </ul>
        </DIV>
    </div>
</div>
<!--底部样式-->
<div class="footer">
    <div class="footer_img_bg"></div>
    <div class="footerbox">
        <div class="footer_info">
            <div class="footer_left">
                <a href="#"><img src="/static/images/logo.png"/></a>
                <p class="erwm">
                    <img src="/static/images/erweim.png" width="80px" height="80px"/>
                    <img src="/static/images/erweim.png" width="80px" height="80px"/>
                <p>
            </div>
            <div class="helper_right clearfix">
                <dl>
                    <dt><em class="guide"></em>新手指南</dt>
                    <dd><a href="#">注册新用户</a></dd>
                    <dd><a href="#">实名认证</a></dd>
                    <dd><a href="#">找回密码</a></dd>
                </dl>
                <dl>
                    <dt><em class="h_about"></em>关于我们</dt>
                    <dd><a href="#">关于我们</a></dd>
                    <dd><a href="#">政策服务</a></dd>
                    <dd><a href="#">常见问题</a></dd>
                </dl>
                <dl>
                    <dt><em class="h_conact"></em>联系我们</dt>
                    <dd><a href="#">联系我们</a></dd>
                    <dd><a href="#">在线客服</a></dd>
                </dl>
            </div>
        </div>
    </div>
    <div class=" Copyright ">
        @2015 四川莆田特色馆版权所有
    </div>
</div>

</body>
</html>
